package com.zhiyou.app.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.zhiyou.app.pojo.entity.BaseEntity;

import java.util.Date;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author jonathan.z
 * @since 2025-09-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("id_gift_rule")
public class IdGiftRuleEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 触发商品编码
     */
    private String triggerGoodsCode;

    /**
     * 触发数量
     */
    private Integer minQuantity;

    /**
     * 赠品商品编码
     */
    private String giftGoodsCode;

    /**
     * 赠品数量
     */
    private Integer giftQuantity;

    /**
     * 规则描述
     */
    private String descrption;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 是否删除
     */
    private Integer deleted;


}
